package com.game.gateway.services;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.flex.remoting.RemotingDestination;
import org.springframework.flex.remoting.RemotingInclude;
import org.springframework.stereotype.Service;

/**
 * @author Gustavo Herrera
 *
 */

@Service
@RemotingDestination(channels = { "my-amf" })
public class RemoteServiceImpl implements RemoteService {

	private static final Logger logger = LoggerFactory.getLogger(RemoteServiceImpl.class);

	@Override
	@RemotingInclude
	public String helloWorld() {
		logger.debug("Saying hello");
		return "Hello World";
	}
}
